package com.webreport.model.db;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "rm")
@GenericGenerator(name = "generator", strategy = "uuid.hex")
public class ReportMonitor implements java.io.Serializable{
	private static final long serialVersionUID = -3266915412395340438L;
	// 代码
	@Id
	@GeneratedValue(generator = "generator")
	@Column(nullable = false, unique = true, length = 32,name="a")
	private String logid;
	@Column(nullable = false, length = 40,name="b")
	private String reportid;
	// 访问时间
	@Column(nullable = false, length = 20,name="c")
	private Date accesstime;
	@Column(nullable = false, length = 50,name="d")
	private String accessip;
	@Column(nullable = false, length = 50,name="e")
	private String username;
	
}
